package com.anxinr.service;

import com.anxinr.pojo.base.QueryBase;
import com.anxinr.pojo.dto.ShopDTO;
import com.anxinr.pojo.entity.Shop;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author anxinr
 */
public interface ShopService extends IService<Shop> {
    /**
     * @author anxinr
     * @param shop
     */
    PageInfo<ShopDTO> queryPageShop(QueryBase<Shop> shop);

    /**
     * 新增门店
     * @author anxinr
     * @param shop
     */
    void saveShop(ShopDTO shop);

    /**
     * 门店修改
     * @param shop
     */
    void updateShop(ShopDTO shop);

    /**
     * 门店删除
     * @param id
     */
    void deleteShop(Long id);
}
